
#ifndef __KEYTAB_H__
#define __KEYTAB_H__

#include <betty/keytab.h>


/* macros to help fill keytables */
#define KEY_ANSI(_key, _code, _code_mod) \
	.ansi[_key] = { .code = _code, .code_mod = _code_mod }

#define KEY_DECKPAM(_key, _code, _code_mod) \
	.deckpam[_key] = { .code = _code, .code_mod = _code_mod }

#define KEY_DECCKM(_key, _code, _code_mod) \
	.decckm[_key] = { .code = _code, .code_mod = _code_mod }


#endif

